﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;

namespace shadowsocks_winservice
{
    class Logging
    {
        internal static void LogUsefulException(Exception e)
        {
            EventLog.WriteEntry("Shadowsocks", e.Message,EventLogEntryType.Warning);
        }

        internal static void LogInfo(string s)
        {
            EventLog.WriteEntry("Shadowsocks", s, EventLogEntryType.Information);
        }
    }
}
